import requests
import json
#对于jsonP格式
res =requests.get(url="https://num.10010.com/NumApp/NumberCenter/qryNum?callback=jsonp_queryMoreNums&provinceCode=11&cityCode=110&advancePayLower=0&sortType=1&goodsNet=4&searchCategory=3&qryType=02&channel=B2C&numNet=186&groupKey=1203791326&judgeType=1&_=1735525074482",headers={"User-Agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7)AppleWebKit/537.36(KHTML,like Gecko)Chrome/95.0.4638.69 Safari/537.36"})
# def jsonp_queryMoreNums(data):
#     nums=data.get("numArray")
#     for num in nums:
#         if num >1000:
#             print(num)
# eval(res.text)
#方式一

content=res.text[20:-1]
data=json.loads(content)
nums=data.get("numArray")
for num in nums:
    if num > 1000:
        print(num)
# 方式二


